Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'repeat' argument to playback command #19

Merged
merged 3 commits into from
Dec 19, 2021
Merged

Add 'repeat' argument to playback command #19

merged 3 commits into from
Dec 19, 2021

Conversation

tshino
Copy link
Owner

@tshino tshino commented Dec 19, 2021

This PR adds new 'repeat' argument support to the playback command kb-macro.playback.
Example usage in keybindings.json:

{
    "key": "ctrl+alt+5",
    "command": "kb-macro.playback",
    "args": { "repeat": 5 },
    "when": "!kb-macro.recording"
}

It performs the recorded sequence 5 times.

@tshino tshino added the enhancement New feature or request label Dec 19, 2021
@tshino tshino merged commit dfdafe0 into main Dec 19, 2021
@tshino tshino deleted the add-repeat-arg branch December 19, 2021 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant